﻿using System;
using System.Collections.Generic;
using System.Web.Mvc;
using yiCommerce.Core.Domain.Orders;
using yiCommerce.Core.Domain.Payments;
using yiCommerce.Core.Domain.Shippings;

namespace yiCommerce.Areas.Admin.Models.Orders
{
    public class OrderSearchFilterModel
    {
        public DateTime? StartDate { get; set; }

        public DateTime? EndDate { get; set; }
        public OrderStatus OrderStatus { get; set; }
        public int OrderStatusId { get; set; }
        public PaymentStatus PaymentStatus{ get; set; }
        public int PaymentStatusId{ get; set; }
        public ShippingStatus ShippingStatus { get; set; }
        public int ShippingStatusId { get; set; }
        public string CustomerEmail { get; set; }



        public List<SelectItem> AvailableOrderStatuses { get; set; }
        public List<SelectItem> AvailablePaymentStatuses { get; set; }
        public List<SelectItem> AvailableShippingStatuses { get; set; }
    }

    public class SelectItem
    {
        public int Value { get; set; }
        public string Text { get; set; }
    }
}